

	<!-- 当前所在位置 START -->
	{include file="_url.here.tpl"}
	<!-- 当前所在位置 END -->

	<!-- 主体区 -->
	<div class="area">


		<form id="fm_checkout" action="./index.php" method="post">
			<input type="hidden" name="goods_weight" value="{$goods_weight}" />
			<input type="hidden" name="goods_cost" value="{$goods_cost}" />
			<input type="hidden" name="payment_fee" value="0" />
			<input type="hidden" name="delivery_fee" value="0" />
			<input type="hidden" name="cost" value="0" />

			<!-- 商品清单 START -->
			<div class="dl_t_block bdcolor-blue tb_list_border">

				<table class="tb_list flow-goods-list">
					<!-- 表头 START -->
					<thead>
						<tr>
							<th colspan="8"><em><a href="./pub/goods/">继续购物</a></em>商品清单</th>
						</tr>
						<tr>
							<th style="width:80px;">商品编号</th>
							<th style="width:92px;">商品图片</th>
							<th>商品名称</th>
							<th style="width:200px;">商品规格</th>
							<th style="width:60px;">商品重量</th>
							<th style="width:60px;">商品单价</th>
							<th style="width:60px;">商品数量</th>
							<th style="width:100px;">小计</th>
						</tr>
					</thead>
					<!-- 表头 END -->

					<!-- 列表 START -->
					<tbody>
						<tr>
							{foreach from=$cartlist item=row}
							<td>{$row.goodsid}</td>
							<td><a href="{$row.url}" title="{$row.goods_name}" target="_blank" class="poshytip"><img src="{$_s.up_dir}thumb/92_70/{$row.cover}" /></a></td>
							<td><a href="{$row.url}" target="_blank">{$row.goods_name}</a></td>
							<td><dl class="spec">
								{foreach from=$row.fspecs item=spec}
									{if $spec.value != ''}
									<dt>{$spec.name}：</dt>
									<dd>{$spec.value}</dd>
									{/if}
								{/foreach}
							</dl></td>
							<td>{$row.fweight}{$row.weightunit}</td>
							<td>￥{$row.price}</td>
							<td>×&nbsp;{$row.number}</td>
							<td>=&nbsp;<b>￥{$row.cost}</b></td>
						</tr>
						{/foreach}
					</tbody>
					<!-- 列表 END -->

				</table>

			</div>
			<!-- 商品清单 END -->

			<div class="space20"></div>

			<p>商品总重量：<b>{$goods_weight}kg</b>&nbsp;&nbsp;商品总价：<b>￥{$goods_cost}</b></p>

			<div class="space20"></div>

			<!-- 收货人信息 START -->
			<div class="sl_t_block bdcolor-orange">
				<div class="tt">
					<h2 class="color-orange">收货人信息</h2>
				</div>
				<div class="main-block">
					<div id="address_list" class="one_list exist_address bgcolor-beige">
						<dl><dt>常用地址</dt><div class="clear"></div></dl>

						{foreach from=$address_list item=row}
						<dl>
							<dt><label><input type="radio" name="addressid" value="{$row.id}" />
								{$row.consignee}</label></dt>
							<dd>{$row.province_name}，{$row.city_name}，{$row.area_name}，{$row.address}，{$row.zipcode}，{$row.mobile}</dd>
							<div class="clear"></div>
						</dl>
						{/foreach}
					</div>

					<!-- 地址编辑 START -->
					{include file='lbi/address.edit.tpl'}
					<!-- 地址编辑 END -->

				</div>
			</div>
			<!-- 收货人信息 END -->

			<div class="space20"></div>

			<!-- 配送方式 START -->
			<div class="dl_t_block bdcolor-cyan tb_list_border">

				<table class="tb_list flow-delivery-pay">
					<!-- 表头 START -->
					<thead>
						<tr>
							<th colspan="9">配送方式</th>
						</tr>
						<tr>
							<th style="width:20px;"></th>
							<th style="width:100px;">名称</th>
							<th>简介</th>
							<th style="width:80px;">运费</th>
							<th style="width:80px;">续重运费</th>
							<th style="width:160px;">送货日期</th>
							<th style="width:80px;">免费额度</th>
						</tr>
					</thead>
					<!-- 表头 END -->

					<!-- 列表 START -->
					<tbody>
						{foreach from=$deliverys item=row}
						<tr>
							<td><input type="radio" name="delivery" value="{$row.mark}" /></td>
							<td><a href="#">{$row.name}</a></td>
							<td>{$row.desc}</td>
							<td>{if $row.fee gt 0}<a class="poshytip" title="首重{$row.firstWeight}kg，运费￥{$row.fee}">￥{$row.fee}</a>{else}--{/if}</td>
							<td>{if $row.followFee gt 0}<a class="poshytip" title="超过{$row.firstWeight}kg，每增加{$row.followWeight}kg，运费增加￥{$row.followFee}">￥{$row.followFee}</a>{else}--{/if}</td>
							<td>{$row.deliveryDate}</td>
							<td>{if $row.freeWeight gt 0}<a class="poshytip" title="如果商品重量未超过{$row.freeWeight}kg，则免运费">{$row.freeWeight}kg</a>{else}--{/if}</td>
						</tr>
						{/foreach}					
					</tbody>
					<!-- 列表 END -->

				</table>

			</div>
			<!-- 配送方式 END -->

			<div class="space20"></div>

			<!-- 支付方式 START -->
			<div class="dl_t_block bdcolor-orange tb_list_border">

				<table class="tb_list flow-delivery-pay">
					<!-- 表头 START -->
					<thead>
						<tr>
							<th colspan="9">支付方式</th>
						</tr>
						<tr>
							<th style="width:20px;"></th>
							<th style="width:100px;">名称</th>
							<th>简介</th>
							<th style="width:80px;">手续费</th>
						</tr>
					</thead>
					<!-- 表头 END -->

					<!-- 列表 START -->
					<tbody>
						{foreach from=$payments item=row}
						<tr>
							<td><input type="radio" name="payment" value="{$row.mark}" /></td>
							<td><a href="#">{$row.name}</a></td>
							<td>{$row.desc}</td>
							<td>{if $row.fee gt 0}{$row.fee}{if $row.feeunit eq '%'}%{else}(元){/if}{else}--{/if}</td>
						</tr>
						{/foreach}					
					</tbody>
					<!-- 列表 END -->

				</table>

			</div>
			<!-- 支付方式 END -->

			<div class="space20"></div>

			<!-- 金额总计 START -->
			<div class="secondary_tag_block">
				<div class="cmtab"><a class="first cur">金额总计</a></div>
				
				<div class="main-block pattern_line_right multi_col">
					
					<dl><dt>商品总重量：</dt><dd>{$goods_weight}kg</dd><div class="clear"></div></dl>
					<div class="clear"></div>
					<dl><dt>商品总价：</dt><dd>￥{$goods_cost}</dd><div class="clear"></div></dl>
					<dl><dt>+配送费用：</dt><dd>￥<span id="delivery_fee">0.00</span></dd><div class="clear"></div></dl>
					<dl><dt>+支付手续费：</dt><dd>￥<span id="payment_fee">0.00</span></dd><div class="clear"></div></dl>
					<div class="clear"></div>
					<dl><dt>应付金额：</dt><dd><b>￥</b><b id="cost">{$goods_cost}</b></dd><div class="clear"></div></dl>

					<div class="clear"></div>

				</div>

			</div>
			<!-- 金额总计 END -->

			<div class="space20"></div>

			<!-- 备注信息 START -->
			<div class="secondary_tag_block">
				<div class="cmtab"><a class="first cur">备注信息</a></div>
				
				<div class="main-block pattern_line_right">
					<textarea name="memo" class="flow-memo" style="width:100%; height:80px;"></textarea>
				</div>

			</div>
			<!-- 备注信息 END -->

			<div class="space20"></div>

			<div class="tcenter">
				<button name="formAction" value="flow_confirm" class="btn-main">提交订单</button>
			</div>
		</form>
	</div>

	<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$_s.js_dir}jQuery/jquery.json.js"></script>
	<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$_s.theme_dir}js/flow.checkout.js"></script>
